package com.geek.water;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/8/7
 *
 * 如何新建单体应用？
 * 1.新建Module
 * 2.修改pom.xml文件，引入场景启动器
 * 3.新建主启动类
 * 4.新建application.yml配置文件
 * 5.编写业务接口  controller -> service -> mapper
 * 6.测试  Apifox 、 Postman 接口测试
 */
@MapperScan("com.geek.water.mapper")
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class MobileMainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MobileMainApplication.class, args);
    }

}
